package com.hjlsoft.aftp.network;

import java.io.IOException;

import com.hjlsoft.aftp.ins.AftpResultCode;

public interface Response {

	public void write(byte[] data) throws IOException;
	
	public void writeResultCodeEnd(AftpResultCode resultCode) throws IOException;
	
	public void writeSuccessDataEnd(String data) throws IOException;
	
	public AftpResultCode getResultCode();
	
}
